Skip to content

ci: pin release-drafter to v7 and make the tests target phony - #696

Merged
pitabwire merged 1 commit into
mainfrom
ci/fix-release-drafter-and-make-tests
Aug 31, 2026
Merged

ci: pin release-drafter to v7 and make the tests target phony#696
pitabwire merged 1 commit into
mainfrom
ci/fix-release-drafter-and-make-tests

Conversation

@pitabwire

Copy link
Copy Markdown
Owner

Two CI/tooling fixes found while cutting v2.1.5:

  • Release Drafter has been failing on every push to main since 2026-07-27: release-drafter/release-drafter@master no longer resolves (upstream renamed its default branch to main). Pin to the v7 major tag and add the permissions block the action documents. Releases had to be created by hand; this restores the draft → scheduled-publish flow.
  • make tests was a no-op: the tests/ directory shadows the tests target, so Make printed 'tests' is up to date and never ran go test. This also meant the .githooks/pre-push test gate ran nothing. Marked .PHONY.

Verified locally: make -n tests now expands to the go test recipe; workflow YAML unchanged apart from the pin and permissions.

https://claude.ai/code/session_019TZcnhbJoDSoDgz4WsTTS3

- release-drafter/release-drafter@master no longer resolves (the upstream
  default branch is now `main`), so every Release Drafter run since
  2026-07-27 failed and no drafts were produced. Pin to the v7 major tag and
  declare the permissions the action needs.
- A `tests/` directory shadows the `tests` Make target, so `make tests`
  reported "'tests' is up to date" and ran nothing — which also silently
  disabled the pre-push hook's test gate. Mark it .PHONY.

Claude-Session: https://claude.ai/code/session_019TZcnhbJoDSoDgz4WsTTS3
@pitabwire
pitabwire merged commit 1d444de into main Aug 31, 2026
5 checks passed
@pitabwire
pitabwire deleted the ci/fix-release-drafter-and-make-tests branch August 31, 2026 14:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant